<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>


<html>
<head>
</head>

<body>
    <table class="tborder" cellspacing="1" cellpadding="3" border="0" width="100%">
        <caption>forums</caption>
        <thead>
            <tr>
                <th>Subject</th>
                <th>Summary</th>
                <th>count</th>
                <th>Last Action</th>
            </tr>
        </thead>
        <tbody>
            <c:if test="${not empty forums}">
            <c:forEach var="forum" items="${forums}">
            <tr id="${forum.id}">
                <td id="tid-folder-${forum.id}">${forum.subject}</td>
                <td>${forum.summary}</td>
                <td>${forum.count}</td>
                <td>
                    <span>
                        <fmt:formatDate value="${forum.createdate.time}" type="both" pattern="yyyy-MM-dd HH:mm:ss"/>
                    </span>
                </td>
            </tr>
            </c:forEach>
            </c:if>
        </tbody>
    </table>
</body>
</html>